Class com.symantec.itools.vcafe.beans.ActionDescriptor
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.vcafe.beans.ActionDescriptor

Object
   |
   +----FeatureDescriptor
           |
           +----com.symantec.itools.vcafe.beans.ActionDescriptor

public class ActionDescriptor
extends FeatureDescriptor
A simple class that encapsulates a bean's Visual CafΘ "action" information as used by the Interaction Wizard. A Visual CafΘ action implies a relationship between objects (or between an object and itself) involving either event notification or data transmission. The Interaction Wizard allows users to graphically build these relationships between objects and then Visual CafΘ is able to generate the code for the specified relationship based on the underlying action information encapsulated in the ActionDescriptor.

Version:
1.0, July 1, 1997
Author:
Symantec

Variable Index

 o INPUT
A constant indicating an input action.
 o OUTPUT
A constant indicating an output action.

Constructor Index

 o com.symantec.itools.vcafe.beans.ActionDescriptor()
Constructs a default ActionDescriptor.
 o com.symantec.itools.vcafe.beans.ActionDescriptor(String)
Constructs a ActionDescriptor with the given form.
 o com.symantec.itools.vcafe.beans.ActionDescriptor(String, String, String, String)
Constructs a ActionDescriptor with the given form, type, and expr String values.
 o com.symantec.itools.vcafe.beans.ActionDescriptor(String, String, String, String, String)
Constructs a ActionDescriptor with the given form, type, init, and expr String values.

Method Index

 o getExpr()
Gets the current expression string.
 o getForm()
Gets the current form string.
 o getInit()
Gets the current init string.
 o getType()
Gets the current type string.
 o setExpr(String)
Specifies the code fragment that is used to create this action.
 o setForm(String)
Sets the form string.
 o setInit(String)
Specifies any initialization code that needs to be present prior to the code generated from the action expression.
 o setType(String)
Specifies the Java type of the parameter or return value of this action.

Variables

 o INPUT
public static final java.lang.String INPUT
A constant indicating an input action.

See Also:
setForm
 o OUTPUT
public static final java.lang.String OUTPUT
A constant indicating an output action.

See Also:
setForm

Constructors

 o ActionDescriptor
public ActionDescriptor()
Constructs a default ActionDescriptor. Form, type, init, and expr are all empty strings.

See Also:
setForm, setType, setInit, setExpr
 o ActionDescriptor
public ActionDescriptor(String f)
Constructs a ActionDescriptor with the given form. Type, init, and expr are all empty strings.

Parameters:
f - the form string
See Also:
setType, setInit, setExpr
 o ActionDescriptor
public ActionDescriptor(String f,
                        String t,
                        String e,
                        String d)
Constructs a ActionDescriptor with the given form, type, and expr String values.

Parameters:
f - the form string
t - the type string
e - the expression string
d - a short description
 o ActionDescriptor
public ActionDescriptor(String f,
                        String t,
                        String i,
                        String e,
                        String d)
Note: ActionDescriptor() is deprecated.

Constructs a ActionDescriptor with the given form, type, init, and expr String values.

Parameters:
f - the form string
t - the type string
i - the init string
e - the expression string
d - a short description

Methods

 o getExpr
public java.lang.String getExpr()
Gets the current expression string.

Returns:
the current expression
See Also:
setExpr
 o getForm
public java.lang.String getForm()
Gets the current form string.

Returns:
the current form
See Also:
setForm
 o getInit
public java.lang.String getInit()
Gets the current init string.

Returns:
the current init
See Also:
setInit
 o getType
public java.lang.String getType()
Gets the current type string.

Returns:
the current type
See Also:
setType
 o setExpr
public void setExpr(String e)
Specifies the code fragment that is used to create this action. The following replacement variables are allowed in the code fragment: %name% the name of the class/bean %class% full classname of the class/bean %arg% method argument used for input action data

Returns:
the new expression
See Also:
getExpr
 o setForm
public void setForm(String f)
Sets the form string. The form of a action is either INPUT or OUTPUT. An output action defines an interaction that returns data; an input action defines an interaction that sets data, or initiates execution of a method that doesn't take data.

Returns:
the new form
See Also:
getForm
 o setInit
public void setInit(String i)
Note: setInit() is deprecated.

Specifies any initialization code that needs to be present prior to the code generated from the action expression. This string must be blank. The feature is not supported in this release.

Returns:
the new init
See Also:
getInit, setExpr
 o setType
public void setType(String t)
Specifies the Java type of the parameter or return value of this action. The most common types are int, boolean, String, and void.

Returns:
the new type
See Also:
getType

All Packages  Class Hierarchy  This Package  Previous  Next  Index